<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false" %>
<%@ page language="java" import="weibo4j.util.WeiboConfig"%>
			<!-- ----------------------- -->
			<!-- tiles/header.jsp STARTS -->
			<!-- ----------------------- -->
			<div class="headerContent">
				<div class="leftDrop"></div>
				<div class="rightDrop"></div>
				
				<div class="headerRow1">
					<div class="login" id="div-register" >
						<p><a href="http://www.oscarchinese.com"><font style="font-family:sans-serif，Arial, Helvetica  ;color:#CCAA55;font-size:13px;">奥斯卡中文网 (测试版)</font></a></p>
						
						<ul class="subpanel" style="margin-top:2px;">
							<li class="last button" >
								<div class="out signBtn" >
									<div class="signBtnLeft"></div>
									<div class="signBtnMid padRight" style="vertical-align:top;">
										<s:if test="#session.account==null">
											<script>function login(){$('#loginDialog').dialog('open');}</script>
											<a class="out" href="javascript:login();">用户登录</a>
										</s:if><s:else>
											<a title="进入我的奥斯卡" href="account"><s:property value="#session.user.name"/></a> <a title="注销" href="account!logout">[x]</a>
										</s:else>
										
									</div>
								</div>
								<span class="in" id="span-register-id" style="display: none;"></span>
							</li>
							
							<li id="signInOut" class="button" style="display: none;">
								<div class="out signBtn">
									<div class="signBtnMid padLeft">
										<a class="out" href="javascript:window.external.AddFavorite('http://www.oscarchinese.com','奥斯卡中文网')" title="加入收藏"></a>
									</div>
									<div class="signBtnRight"></div>
								</div>
								<div class="in signBtn" style="display: none;">
									<div class="signBtnLeft"></div>
									<div class="signBtnMid">
									<a class="in" href="http://oscar.go.com/nominations#" onclick="abcdm.abccom.Register.logout();return false;"
										style="display: none;">奥斯卡中文网</a>
									</div>
									<div class="signBtnRight"></div>
								</div>
							</li>
							<!--  -->
						</ul>
						
					</div>
					<!--  -->
					<div class="oscars-header-logo">
						<p>You’re Invited.<br> Oscar</p>
					</div>
					
					<div class="oscars-header-search">
						<input id="key" type="text" value="<s:property value='key'/>" onKeyUp="javascript:go(event)" onclick="this.select();"/>
						<a type="button" class="button" title="搜索" href="javascript:search()">&nbsp;</a>
					</div>
					
					
				</div>
				
				<div class="headerRow2">
					<div class="headerLinks"><!-- Page Links -->
					<ul class="header-placeholder0">					
						<li>						
							<s:if test="#session.account==null">
								<a id="me" target="_self"  class="nav-me" href="javascript:login();"></a>
							</s:if><s:else>
								<a id="me" target="_self" href="account" class="nav-me" title="进入我的奥斯卡"></a>
							</s:else>
							
						</li>
						<!-- dian ying -->
						<li>
							<a target="_self" href="index" class="nav-the-nominations">
								<span class="nav-label" >首页</span>
								<span class="nav-byline"></span>
							</a>
						</li>
						<!-- pai hang bang -->
						<li>
							<a target="_self" href="index!ranking" class="nav-the-red-carpet">
								<span class="nav-label">The Red Carpet</span>
								<span class="nav-byline"></span>
							</a>
						</li>
					
						<!-- ren wu -->
						<li>
							<a target="_self" href="index!people" class="nav-the-award-show">
								<span class="nav-label">The Award Show</span>
								<span class="nav-byline"></span>
							</a>
						</li>
						 
					</ul>
					</div>
				</div>
			</div>
			<!--[if !IE]> /headerContent <![endif]-->
	
	
			<div class="header-ad">
				<div class="leftDrop"></div>
				<div class="rightDrop"></div>
				<div class="adWrapper"></div>
			</div>
		
			<!-- 纠错窗口 -->
			<a class="suggestion" id="suggestion" style="display: inline; right: 0px; cursor:pointer;z-index: 100;"></a>
			<div class="sgBox" id="tab" style="display: none; right: 42px; ">
			  <div class="sgTitle"><a href="javascript:void(0);" title="关闭" class="sgClose r"></a><h3>请把问题和建议告诉我们</h3></div>
				<ul class="sgTab">
			    	<li id="d1" class="active"><a class="a1">纠错</a></li>
			        <li id="d2"><a class="a2">故障</a></li>
			        <li id="d3"><a class="a3">咨询</a></li>
			        <li id="d4"><a class="a4">建议</a></li>
			    </ul>
			        <div class="sgCont">
			    	    <div id="d1" class="d" style="display: block;"><em class="e1"></em></div>
			            <div id="d2" class="d" style="display: none; "><em class="e2"></em></div>
			            <div id="d3" class="d" style="display: none; "><em class="e3"></em></div>
			            <div id="d4" class="d" style="display: none; "><em class="e4"></em></div>
			            <textarea id="sgarea">奥斯卡中文网需要您的支持与呵护，请在此写下您的宝贵建议和联系方式，十分感谢！</textarea>
			        </div>
			        <div class="sgBottom">
			        <input id="sgsubmit" type="button" value="" class="r sgBtn" onmouseover="this.className=&#39;r sgBtn sgBtnOver&#39;" onmousedown="this.className=&#39;r sgBtn sgBtnDown&#39;" onmouseout="this.className=&#39;r sgBtn&#39;"></div>
			</div>
			
			
			
			<!-- 登录窗口 -->
			<div id="loginDialog" title="登录窗口" style="display:none;">
			  <p>
			    <div style="display:block;text-align:center">
			    <span><img src="img/oscar_header_logo.png"/></span>
			    </div>
			    
			    <span class="loginLabel">请选择以下合作伙伴帐号快速安全登录</span>
			    
			    <div class="loginBtn" style="display:block;margin:30px auto;text-align:center">
					<span>
					  <!-- <a href="<%=WeiboConfig.getValue("authorizeURL")%>?response_type=token&client_id=<%=WeiboConfig.getValue("client_ID")%>&redirect_uri=<%=WeiboConfig.getValue("redirect_URI")%>" title="使用新浪微博帐号登录">-->
					  <a href="account!loginWeibo" title="使用新浪微博帐号登录">
					    <img src="img/weibo_24.png"/></a>
					</span>    
				    <span><img src="img/qq_button.png"/></span>
				    <span><img src="img/douban_button.png"/></span>
			    </div>
			    <br/>
			    <center>(腾讯微博和豆瓣账号正在测试中，只有拥有邀请码的帐户可以登录。)</center>
			  </p>
			</div>

			<!-- --------------------- -->
			<!-- tiles/header.jsp ENDS -->
			<!-- --------------------- -->